package com.earl.gsm.service.impl.match;

import com.earl.gsm.commons.dao.BaseDao;
import com.earl.gsm.commons.service.BaseServiceImpl;
import com.earl.gsm.commons.util.FileUploadImpl;
import com.earl.gsm.dao.TeamInfoDao;
import com.earl.gsm.domain.gsm.match.Team;
import com.earl.gsm.service.TeamInfoService;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class TeamInfoServiceImpl extends BaseServiceImpl<Team, Team>
        implements TeamInfoService {

    private static Logger logger = Logger.getLogger(TeamInfoServiceImpl.class);

    @Resource
    private TeamInfoDao dao;


    @Resource(name = "fileUpload")
    FileUploadImpl fileUpload;


    @Override
    protected BaseDao<Team> getDao() {
        return dao;
    }

}
